#ifndef GT_COMMON_H
#define GT_COMMON_H

#include <iostream>
using std::cerr;
using std::endl;

#ifndef GT_ASSERT
#define GT_ASSERT(bool_exp, ret_value) \
	if (!(bool_exp)){ \
		cerr << "negative: " \
			<< __FILE__ \
			<< "(" \
			<< __LINE__ \
			<< ")" \
			<< endl; \
		return ret_value; \
	}
#endif

#endif
